how to create password strength checker in python